import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class DemoTest {
	Demo demo = new Demo();
	//0
	@Test
	public void test1() {
		assertEquals(0, demo.calday(0));
	}
	//1
	@Test
	public void test2() {
		assertEquals(1, demo.calday(1));
	}
	//2
	@Test
	public void test3() {
		assertEquals(2, demo.calday(2));
	}
	//3
	@Test
	public void test4() {
		assertEquals(2, demo.calday(3));
	}
	//4
	@Test
	public void test5() {
		assertEquals(3, demo.calday(4));
	}
	//500
	@Test
	public void test6() {
		assertEquals(8, demo.calday(500));
	}
	//501
	@Test
	public void test7() {
		assertEquals(8, demo.calday(501));
	}
	//1000
	@Test
	public void test8() {
		assertEquals(9, demo.calday(1000));
	}
	//1001
	@Test
	public void test9() {
		assertEquals(0, demo.calday(1001));
	}
	//-1
	@Test
	public void test10() {
		assertEquals(0, demo.calday(-1));
	}
}